package controller

import (
	"game-server/data"
	"net/http"

	"github.com/gin-gonic/gin"
)

type HeroController struct{}

func NewHeroController() *HeroController {
	return &HeroController{}
}

// GetAllHeroes 获取所有英雄信息
func (c *HeroController) GetAllHeroes(ctx *gin.Context) {
	// 直接返回初始英雄数据
	ctx.JSON(http.StatusOK, data.InitialHeroes)
}
